#pragma once

#include "GameObject.h"

ref class Cylinder: public GameObject
{
internal:
	Cylinder();
	Cylinder(
		DirectX::XMFLOAT3 position,
		float radius,
		DirectX::XMFLOAT3 direction
		);

	virtual void Update(GameEngine^ gameEngine) override;

protected:
   
private:
	void Initialize(
		DirectX::XMFLOAT3 position,
		float radius,
		DirectX::XMFLOAT3 direction
		);

	DirectX::XMFLOAT3   m_axis;
	float               m_length;
	float               m_radius;
	DirectX::XMFLOAT4X4 m_rotationMatrix;
};